package com.duoec.magichour.dto;

import com.duoec.magichour.dto.response.UserSimpleInfoDto;
import com.duoec.magichour.enums.RoleEnum;

import java.util.List;

/**
 * Created by ycoe on 17/6/29.
 */
public class UserInfo extends UserSimpleInfoDto {
    /**
     * 当前用户有效token
     */
    private String authorToken;

    /**
     * 当前用户角色
     */
    private List<RoleEnum> roleList;

    public String getAuthorToken() {
        return authorToken;
    }

    public void setAuthorToken(String authorToken) {
        this.authorToken = authorToken;
    }

    public List<RoleEnum> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<RoleEnum> roleList) {
        this.roleList = roleList;
    }
}
